#include "junix.h"
using namespace std;

int main(int argc, char **argv)
{
	srand(time(0));
	vector<int> v(10);
	for_each(v.begin(),v.end(),
			boost::lambda::_1=boost::lambda::bind(rand) % 10);

	for_each(v.begin(), v.end(),
			std::cout<<boost::lambda::_1<<" ");

	std::cout<<std::endl;
}
